// 计算表格滚动高度
export const calculateTableScrollHegiht = () => {
  let viewportHeight = window.innerHeight;
  return viewportHeight - 290;
};

// 视口改变钩子函数
export const onResize = (callback) => {
  window.addEventListener("resize", callback);
};
